package _general.geometry;


public class Node extends Point {

	private Edge edge;
	private boolean isStart;
	
	public Node(double x, double y) {
		super(x, y);
	}
	
	public void setEdge(Edge edge, boolean isStart) {
		this.edge = edge;
		this.isStart = isStart;
	}

	public Edge getEdge() {
		return edge;
	}

	public boolean isStart() {
		return isStart;
	}

}
